import express from 'express'
const router = express.Router();
import TeacherCourseController from '../../controller/teacher/TeacherCourseController'

router.post('/add', TeacherCourseController.addData);
router.post('/update', TeacherCourseController.updateRecord);
router.post('/delete', TeacherCourseController.deleteRecord);
router.post('/get', TeacherCourseController.findById);
router.post('/list', TeacherCourseController.findByPage);
router.post('/listall', TeacherCourseController.findAll);


module.exports = router;